***merging AJ 1, 2, and 3 together   ***** 
**** Barnes and Holman ****

clear 

**** merging datasets together - first wide **** 
clear

cd "SET TO YOUR MERGE FOLDER" 

use "adj1_reduced.dta" 

merge m:m ASU_ID using "ajd2_reduced.dta"
rename _merge w1_w2_match

merge m:m ASU_ID using "adj3_reduced.dta" 
rename _merge w1_w3_match

save "ajd_panel.dta", replace 

